﻿using System;

namespace OneWorks.Web.Common.BaiDu.Place
{
    public class BaiduPlaceEventDetailParams : BaiduPlaceParams
    {
        /// <summary>
        /// poi的uid
        /// </summary>
        public string Uid;

        public override string ToString()
        {
            if (string.IsNullOrWhiteSpace(Uid))
                throw new ArgumentException(BaiduErrorMessages.LackParam);

            string s = "";

            s += "&uid=" + Uid;

            return base.ToString() + s;
        }
    }
}
